
var browse = browse || {}; 

browse.buy = function (id) {
	if (!confirm("I am ready to add this item into my shopping cart")) {
		return;
	}
	$.ajax({
		url: '/service/product/AddToShoppingCart.ajax',
		type:'post', 
		dataType: "text", 
		data: {
			id : id
		}, 
		success: function (message) {
			alert(message);
		}
	});
}; 